package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterMingxiDuihuanDao;
import com.vf.admin.miaodong.entity.AppMingxiDuihuan;
import com.vf.admin.miaodong.service.AfterMingxiDuihuanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 账单明细-兑换
 */
@Service
public class AfterMingxiDuihuanServiceImpl implements AfterMingxiDuihuanService {
    @Autowired
    private AfterMingxiDuihuanDao afterMingxiDuihuanDao;

    /**
     * 查询列表
     */
    @Override
    public List<AppMingxiDuihuan> findList(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return afterMingxiDuihuanDao.findList(paraMap, splitPage);
    }

    /**
     * 详情
     */
    @Override
    public AppMingxiDuihuan get(Integer id) {
        return afterMingxiDuihuanDao.get(id);
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppMingxiDuihuan haoYou) {
        afterMingxiDuihuanDao.save(haoYou);
    }


}
